]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
build: Add explicit dependency on Xfixes
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Wed, 1 May 2024 20:33:43 +0000 (22:33 +0200)
committerSimon McVittie <smcv@debian.org>
Sun, 13 Jul 2025 11:24:58 +0000 (12:24 +0100)
We use the xfixes extensions in tray icons but we rely on the dependency
brought to us from other libraries as mutter but let's make it explicit

Origin: https://gitlab.gnome.org/3v1n0/gnome-shell/-/commits/tray-offscreen-xwindows
Bug-Ubuntu: https://bugs.launchpad.net/bugs/2012388

Gbp-Pq: Topic tray-icons
Gbp-Pq: Name build-Add-explicit-dependency-on-Xfixes.patch

meson.build
src/tray/meson.build

index ffae52980c0a752aa64a07fbdce491e07f9416a4..e0ac102bbd76665867fcc37c4123a7e0aa8973e7 100644 (file)
@@ -93,6 +93,7 @@ have_x11 = mutter_dep.get_variable('have_x11') == 'true'
 have_x11_client = mutter_dep.get_variable('have_x11_client') == 'true'
 if have_x11_client or have_x11
   x11_dep = dependency('x11')
+  xfixes_dep = dependency('xfixes')
 endif
 
 if not have_fonts
index 1a86bcbabb4c738f0726f652d936677d06fbe805..2fc73f3a48af72140f3b7d50f8200af4ae06cab9 100644 (file)
@@ -9,6 +9,6 @@ tray_sources = [
 
 libtray = static_library('tray', tray_sources,
   c_args: ['-DG_LOG_DOMAIN="notification_area"'],
-  dependencies: [mutter_dep, mtk_dep],
+  dependencies: [mutter_dep, mtk_dep, xfixes_dep],
   include_directories: conf_inc
 )